import { SUCCESS } from '../constants';
import BaseNode from '../core/BaseNode';
import MemGate from './MemGate';
// AND ， &&
export default class MemGateAnd extends MemGate {

  constructor(name: string, children: BaseNode[] = []) {
    super(`MEM_AND_[${name}]`, children);
  }

  protected defaultStatus(): number {
    return SUCCESS
  }

};
